ScaleCSS

Thescale()methodincreasesordecreasesthesizeofanelement(accordingtotheparametersgivenforthewidthandheight).Thefollowingexampleincreases ...,Thescalepropertydefinesvaluesforhowmuchanelementisscaledinx-andy-directions.Youcanalsodefinehowmuchanelementisscaledinz-direction.,/*其他CSS屬性省略*/}.scale():說明:縮放,元素以參考點為中心進行2D縮放;單位:無,為純數值倍率;單個參數:如果只寫一個參數,就是X...

CSS 2D Transforms

The scale() method increases or decreases the size of an element (according to the parameters given for the width and height). The following example increases ...

CSS scale property

The scale property defines values for how much an element is scaled in x- and y-directions. You can also define how much an element is scaled in z-direction.

CSS動畫-2D Transform

/*其他CSS屬性省略*/ }. scale(): 說明:縮放,元素以參考點為中心進行2D縮放; 單位:無,為純數值倍率; 單個參數:如果只寫一個參數,就是X、Y軸以同樣倍率縮放; 可細分為 ...

scale - CSS: Cascading Style Sheets

2023年2月20日 — The scale CSS property allows you to specify scale transforms individually and independently of the transform property.

scale - CSS:层叠样式表

2023年12月28日 — CSS 属性 scale 允许你可以分别且独立地指定CSS 属性 transform 缩放的比例。这更好地映射到典型的UI(用户界面)用法中,并免去了在指定变换值时必须记住 ...

scale() - CSS: Cascading Style Sheets

2024年5月13日 — The scale() function is specified with either one or two values, which represent the amount of scaling to be applied in each direction.

scale() - CSS:层叠样式表

2023年8月2日 — CSS 函数 scale() 用于修改元素的大小。可以通过向量形式定义的缩放值来放大或缩小元素,同时可以在不同的方向设置不同的缩放值。

transform 2D · CSS3動畫快速入門

縮放比例(scale)是指對大小比例進行放大或縮小,數值為正數,例如2代表2倍大,0.5代表一半大小。變形模組中提供了三種函式可供使用,分別為: scale( <number> [, <number> ]? ...

缩放:scale()

在CSS3中,我们可以使用transform属性的scale()方法来实现元素的缩放效果。缩放,指的是“缩小”和“放大”的意思。